package templateMethod.fromKanYun;

public class Test {
    public static void main(String[] args) {
        AbstractTemplate sub1 = new Sub1();
        sub1.haveMeal();

        AbstractTemplate sub2 = new Sub2();
        sub2.haveMeal();
    }
}
